bpo-38242: Revert "bpo-36889: Merge asyncio streams (GH-13251)"#16482
bpo-38242: Revert "bpo-36889: Merge asyncio streams (GH-13251)"#164821st1 merged 1 commit intopython:masterfrom
Conversation
Thanks for finishing this up Yury. Out of curiosity, what additional changes needed to be made? |
|
|
|
||
| .. coroutinefunction:: start_server(client_connected_cb, host=None, \ | ||
| port=None, \*, loop=None, limit=2**16, \ | ||
| port=None, \*, loop=None, limit=None, \ |
There was a problem hiding this comment.
The constant _DEFAULT_LIMIT (2**16) is still being used as the default for limit in start_server(), so this can be restored.
| port=None, \*, loop=None, limit=None, \ | |
| port=None, \*, loop=None, limit=2**16, \ |
There was a problem hiding this comment.
I can do this in a separate PR if needed. This change is rather low priority in comparison to reverting the streaming API, and would not be a release blocker.
There was a problem hiding this comment.
Sure, although right now docs are the same as in 3.7. So I'm not sure it's needed tbh.
There was a problem hiding this comment.
So I'm not sure it's needed tbh.
Okay, I won't worry about it then, it's fairly trivial.
Ah, I wasn't aware we were also removing that change. I hadn't realized we were reverting fully back to the 3.7 API, I thought it was primarily just focused on 23b4b69. Now it makes a lot more sense why you wanted to remove |
|
@1st1: Please replace |
|
Thanks @1st1 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8. |
|
Sorry, @1st1, I could not cleanly backport this to |
|
GH-16485 is a backport of this pull request to the 3.8 branch. |
See https://bugs.python.org/issue38242 for more details
99% of the work is done by @aeros167; I've just needed to add a few more fixes and couldn't push to his branch; hence the new PR.
https://bugs.python.org/issue38242